<?php

namespace App\Http\Requests;

class SortRequest extends BaseRequest
{
    public function rules()
    {
        return [
            'data'   => ['required', 'array']
        ];
    }

    public function messages()
    {
        return [
            'data.required' => '操作失败，参数错误~',
            'data.array'    => '操作失败，参数错误~'
        ];
    }
}
